﻿using System;
namespace OpenComposite.EII.Services
{
	interface IRepositorySelectionService
	{
		event EventHandler SelectionChanged;
		event EventHandler SelectionChanging;

		object PrimarySelection { get; }
		int SelectionCount { get; }

		bool GetRepositoryItemSelected(object repositoryItem);
		
		void SetSelectedRepositoryItems(System.Collections.ICollection repositoryItems);
		void SetSelectedRepositoryItems(System.Collections.ICollection repositoryItems, System.ComponentModel.Design.SelectionTypes selectionType);
		
		System.Collections.ICollection GetSelectedRepositoryItems();
	}
}
